<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>inspect_builtin.BaseException | My Python Project</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">My Python Project</a>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <span class="m-breadcrumb"><a href="inspect_builtin.html">inspect_builtin</a>.<wbr/></span>BaseException <span class="m-thin">class</span>
        </h1>
        <p>Common base class for all exceptions</p>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#methods">Methods</a></li>
                <li><a href="#dunder-methods">Special methods</a></li>
                <li><a href="#properties">Properties</a></li>
              </ul>
            </li>
          </ul>
        </nav>
        <section id="methods">
          <h2><a href="#methods">Methods</a></h2>
          <dl class="m-doc">
            <dt id="add_note">
              <span class="m-doc-wrap-bumper">def <a href="#add_note" class="m-doc-self">add_note</a>(</span><span class="m-doc-wrap">…)</span>
            </dt>
            <dd>Exception.add_note(note) --
add a note to the exception</dd>
            <dt id="with_traceback">
              <span class="m-doc-wrap-bumper">def <a href="#with_traceback" class="m-doc-self">with_traceback</a>(</span><span class="m-doc-wrap">…)</span>
            </dt>
            <dd>Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.</dd>
          </dl>
        </section>
        <section id="dunder-methods">
          <h2><a href="#dunder-methods">Special methods</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">def <a href="#__reduce__" class="m-doc">__reduce__</a>(</span><span class="m-doc-wrap">…)</span>
            </dt>
            <dd></dd>
            <dt id="__setstate__">
              <span class="m-doc-wrap-bumper">def <a href="#__setstate__" class="m-doc-self">__setstate__</a>(</span><span class="m-doc-wrap">…)</span>
            </dt>
            <dd></dd>
          </dl>
        </section>
        <section id="properties">
          <h2><a href="#properties">Properties</a></h2>
          <dl class="m-doc">
            <dt id="__cause__">
              <a href="#__cause__" class="m-doc-self">__cause__</a> <span class="m-label m-flat m-warning">get</span>
            </dt>
            <dd>exception cause</dd>
            <dt id="__context__">
              <a href="#__context__" class="m-doc-self">__context__</a> <span class="m-label m-flat m-warning">get</span>
            </dt>
            <dd>exception context</dd>
            <dt id="args">
              <a href="#args" class="m-doc-self">args</a> <span class="m-label m-flat m-warning">get</span>
            </dt>
            <dd></dd>
          </dl>
        </section>
        <section>
          <h2>Method documentation</h2>
          <section class="m-doc-details" id="__reduce__"><div>
            <h3>
              <span class="m-doc-wrap-bumper">def inspect_builtin.<wbr />BaseException.<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#__reduce__" class="m-doc-self">__reduce__</a>(</span><span class="m-doc-wrap">…)</span></span>
            </h3>
<p>External docs to trigger the function to be shown in a detailed view as
well to test that the ellipsis gets correctly shown there too.</p>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
</body>
</html>
